package ninja.awesome.game.main;

import java.util.Random;

import ninja.awesome.framework.Image;
import ninja.awesome.game.Assets;
import ninja.awesome.game.MainGameScreen;

public class Sprites {

	public Sprites(MainGameScreen game) {
		getSprites();
	}

	public void getSprites() {
		// Switched to Assets
	}

	public Image getTitle() {
		return Assets.title;
	}

	public Image getPowerUp() {
		return Assets.powerup;
	}

	public Image getMyNinja() {
		return Assets.myninja;
	}

	public Image[] getninjaHealthIcon() {
		return Assets.ninjaHealthIcon;
	}

	/****************************************************************************************************
	 * I have erased and repalce the swings so that return swing image.
	 */
	public Image[] getAttackSprite() {

		return Assets.swings; // return all ninja attacks left and right!
	}

	public Image[] getKatanaSprite() {
		return Assets.katanaAttack;
	}

	public Image[] getEnemySprite() {

		return Assets.ep;// we will expand

	}

	public Image[] getShuriken() {
		return Assets.shuriken;
	}

	public Image[] getkatanaAttack() {
		return Assets.katanaAttack;
	}

	public Image getWeatherSprite1() {
		return Assets.weather1;
	}

	public Image getWeatherSprite2() {
		return Assets.weather2;
	}

	public Image getWeatherSprite3() {
		return Assets.weather3;
	}

	public Image getBottomSprite() {
		return Assets.bottom;
	}

	public Image getBackgroundSprite() {
		return Assets.background;
	}

	public Image getEAttack() {
		return Assets.enemyAttack;
	}

	public Image getLife() {
		return Assets.life[0];
	}

	public Image[] getEnemyAttack() {
		return Assets.eBullet;
	}

	public Image[] getExplosion() {
		return Assets.explosion;
	}

	public Image[] getMP() {
		return Assets.mp;
	}

	public Image[] getAttack() {
		return Assets.at;
	}

	public Image[] getExplosion2() {
		return Assets.explosion2;
	}

	/*
	 * Boss suppose to be different depending on each level. The tip of
	 * implementation of programming is public Image[] getEnemySprite()
	 */
	public Image getBoss() {
		return Assets.boss;

	}

	public Image[] getBuilding(int whatBuilding) {

		switch (whatBuilding) {
		case 0:
			return Assets.building01;
		case 1:
			return Assets.building02;
			// case 3:
			// return ep2;
		default:
			return Assets.building01;
		}
	}

	public Image[] getTree(int whatTree) {
		switch (whatTree) {
		case 0:
			return Assets.tree01;
		case 1:
			return Assets.tree02;
		case 2:
			return Assets.tree03;
		case 3:
			return Assets.tree04;

		default:
			return Assets.tree01;
		}
	}

	public Image[] getRoad(int i) {
		int ran;
		Random r = new Random();
		ran = 1;
		switch (ran) {
		case 1:
			return Assets.road01;
		case 2:
			return Assets.road01;
		default:
			return Assets.road01;
		}
	}

	public Image[] getBushSprite(int i) {

		switch (i) {
		case 0:
			return Assets.bush01;
		case 1:
			return Assets.bush02;
		case 2:
			return Assets.bush03;
		default:
			return Assets.bush01;
		}

	}
}
